﻿namespace LxCFD
{
    public struct FvPair
    {
        public int O_InnCell;
        public int N_InnCell;
        public int O_Cell;
        public int N_Cell;
        public int O_Face;
        public int N_Face;
        public void SetONIndex(int OFaceId, ref FvFace OFace, int NFaceId, ref FvFace NFace)
        {
            O_InnCell = OFace.OSideCell;
            O_Cell = OFace.NSideCell;
            this.O_Face = OFaceId;
            N_InnCell = NFace.OSideCell;
            N_Cell = NFace.NSideCell;
            this.N_Face = NFaceId;
        }
    }
}
